package com.jic.member.mapper;

import com.jic.common.base.vo.Page;
import com.jic.member.entity.MemDiscountCardPeriodEntity;
import com.jic.member.request.MemDiscountThemeRequest;
import com.jic.member.response.MemDiscountThemeResponse;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MemDiscountCardPeriodEntityMapper {
    void insert(MemDiscountCardPeriodEntity memDiscountCardPeriodEntity);
    void update(MemDiscountCardPeriodEntity memDiscountCardPeriodEntity);
    List<MemDiscountCardPeriodEntity>  findOfPage(@Param("po") MemDiscountCardPeriodEntity memDiscountCardPeriodEntity, @Param("page") Page page);
    int countOfPage(MemDiscountCardPeriodEntity memDiscountCardPeriodEntity);


}